package com.ruoyi.project.module.domain.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 域名管理表 api_domain
 * 
 * @author ruoyi
 * @date 2018-09-22
 */
public class Domain extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 域名ID */
	private Integer apiDomainId;
	/** URL域名 */
	private String named;
	/** 端口 */
	private Integer port;
	/** 描述 */
	private String description;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;
	/** 对外接口 */
	private Integer opened;
	/** 实际ip地址 */
	private String ipv4;
	/** 实际端口 */
	private Integer ipv4port;
	/** 访问地址 */
	private String url;
	/** post直接访问地址 */
	private String posturl;

	public void setApiDomainId(Integer apiDomainId) 
	{
		this.apiDomainId = apiDomainId;
	}

	public Integer getApiDomainId() 
	{
		return apiDomainId;
	}
	public void setNamed(String named) 
	{
		this.named = named;
	}

	public String getNamed() 
	{
		return named;
	}
	public void setPort(Integer port) 
	{
		this.port = port;
	}

	public Integer getPort() 
	{
		return port;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	public Integer getOpened() {
		return opened;
	}

	public void setOpened(Integer opened) {
		this.opened = opened;
	}

	public void setIpv4(String ipv4)
	{
		this.ipv4 = ipv4;
	}

	public String getIpv4() 
	{
		return ipv4;
	}
	public void setIpv4port(Integer ipv4port) 
	{
		this.ipv4port = ipv4port;
	}

	public Integer getIpv4port() 
	{
		return ipv4port;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setPosturl(String posturl) 
	{
		this.posturl = posturl;
	}

	public String getPosturl() 
	{
		return posturl;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apiDomainId", getApiDomainId())
            .append("named", getNamed())
            .append("port", getPort())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isopen", getOpened())
            .append("ipv4", getIpv4())
            .append("ipv4port", getIpv4port())
            .append("url", getUrl())
            .append("posturl", getPosturl())
            .toString();
    }
}
